package top.whysu.rongcloud.api.dto.messages.groups;

/**
 * 群组创建成功，修改群名称成功的data，详见https://www.rongcloud.cn/docs/message_architecture.html#group_notification_message
 * 创建成功的 消息体格式：GroupsNtfMessage
 *{
 "operatorUserId":"4324",
 "operation":"Create",
 "data":"{
 "operatorNickname":"李天",
 "targetGroupName":"群名"
 }",
 "message":"创建群组",
 "extra":""
 }
 修改群名称成功的 消息体格式:
 {
 "operatorUserId":"4324",
 "operation":"Rename",
 "data":"{
 "operatorNickname":"李天",
 "targetGroupName":"群名"
 }",
 "message":"修改群名称",
 "extra":""
 }
 */
public class GroupsCreateRename {
    private String operatorUserId = "";
    private String operatorNickname = "";
    private String targetGroupName = "";
    private String targetGroupId = "";

    public GroupsCreateRename(String operatorUserId,String operatorNickname, String targetGroupName, String targetGroupId) {
        this.operatorUserId = operatorUserId;
        this.operatorNickname = operatorNickname;
        this.targetGroupName = targetGroupName;
        this.targetGroupId = targetGroupId;
    }

    public String getOperatorUserId() {
        return operatorUserId;
    }

    public void setOperatorUserId(String operatorUserId) {
        this.operatorUserId = operatorUserId;
    }

    public String getOperatorNickname() {
        return operatorNickname;
    }

    public void setOperatorNickname(String operatorNickname) {
        this.operatorNickname = operatorNickname;
    }

    public String getTargetGroupName() {
        return targetGroupName;
    }

    public void setTargetGroupName(String targetGroupName) {
        this.targetGroupName = targetGroupName;
    }

    public String getTargetGroupId() {
        return targetGroupId;
    }

    public void setTargetGroupId(String targetGroupId) {
        this.targetGroupId = targetGroupId;
    }
}
